# -*- coding:utf-8 -*-
# @Time : 2021/8/16 20:24
# @Author: tangn
# @File : OrderDTO.py
from typing import Optional, Any
from entity.Order import Order


# DTO 入参接收层
class OrderDTO(Order):
    # 基础页码配置
    page_number: int
    page_size: Optional[int]
    # 额外参数配置(用户账号)
    account: Optional[str]

    # 初始化参数方法
    def __init__(self, **data: Any):
        super().__init__(**data)
